home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q101 / 9 / 27.TXT < prev    next >
Text File  |  1993-08-30  |  3KB  |  74 lines

  1. DOCUMENT:Q101927  28-JUL-1993  [W_NT]
  2. TITLE   :INF: The LHMOSTS File for TCP/IP in Windows NT
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system, version 3.1
  12.  - Microsoft Windows NT Advanced Server, version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. The LMHOSTS file is a local text file that maps IP addresses to
  16. NetBIOS names of remote servers with which you want to communicate
  17. over the TCP/IP protocol.
  18.  
  19. Windows NT recognizes names instead of IP addresses for network
  20. requests and a name discovery process is used to correctly route
  21. network requests with TCP/IP. Because the name discovery process is
  22. generally not routed by an IP router, the LMHOSTS file allows Windows
  23. NT computers to communicate using TCP/IP across a subnet bridged by an
  24. IP router.
  25.  
  26. Under TCP/IP alone, NBT (NetBIOS over TCP/IP) checks this list in
  27. memory before doing a b-node name discovery. For example, a reference
  28. to \\Eric would be translated to reference the actual IP address of
  29. 135.25.25.14 (this is a fictional address).
  30.  
  31. A sample LMHOSTS file:
  32. ----------------------
  33. 142.25.125.15 Joe #PRE
  34. 129.102.12.10 Paul #PRE
  35. 148.107.16.45 James
  36. 135.25.25.14 Eric #PRE
  37. 133.120.26.225 John
  38. 192.36.14.250 Ed #PRE
  39. 221.250.05.126 Mackey
  40.  
  41. Note:  All addresses are fictional.
  42.  
  43. When Windows NT loads, it reads the first 100 entries, by default, in
  44. the LMHOSTS file marked with #PRE. You can increase the number of #PRE
  45. entries that will load into memory at logon by adding the MaxPreLoads
  46. entry in the registry. This entry should be added to the
  47. Hkey_Local_Machine\CurrentControlSet\Services\NBT\Parameters section
  48. of the registry.
  49.  
  50. The maximum number allowed for MaxPreLoads depends on the performance
  51. of the system. Some computers are able to parse or search through more
  52. entries in the LMHOSTS file than others. Based on system performance,
  53. Windows NT usually searches through about 1000 entries before timing
  54. out (15 seconds).
  55.  
  56. Additional reference words: 3.10
  57. KBCategory:
  58. KBSubcategory: tpip
  59.  
  60. =============================================================================
  61.  
  62. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  63. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  64. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  65. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  66. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  67. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  68. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  69. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  70. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  71. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  72. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  73.  
  74. Copyright Microsoft Corporation 1993.